// Generated from C:/Users/brodyaga/Desktop/lab-3/src/main/antlr4\Grammar.g4 by ANTLR 4.9.2
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.misc.*;

@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class GrammarLexer extends Lexer {
	static { RuntimeMetaData.checkVersion("4.9.2", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, MulOrDiv=9, 
		Whitespace=10, Number=11, Variable=12, OPEN_BRACKET=13, CLOSE_BRACKET=14, 
		BEGIN=15, END=16, UP=17, DOWN=18;
	public static String[] channelNames = {
		"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
	};

	public static String[] modeNames = {
		"DEFAULT_MODE"
	};

	private static String[] makeRuleNames() {
		return new String[] {
			"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "MulOrDiv", 
			"Whitespace", "Number", "Variable", "OPEN_BRACKET", "CLOSE_BRACKET", 
			"BEGIN", "END", "UP", "DOWN"
		};
	}
	public static final String[] ruleNames = makeRuleNames();

	private static String[] makeLiteralNames() {
		return new String[] {
			null, "'$'", "'='", "'\\'", "'('", "')'", "'+'", "'-'", "'\\frac'", null, 
			null, null, null, "'{'", "'}'", null, null, "'^'", "'_'"
		};
	}
	private static final String[] _LITERAL_NAMES = makeLiteralNames();
	private static String[] makeSymbolicNames() {
		return new String[] {
			null, null, null, null, null, null, null, null, null, "MulOrDiv", "Whitespace", 
			"Number", "Variable", "OPEN_BRACKET", "CLOSE_BRACKET", "BEGIN", "END", 
			"UP", "DOWN"
		};
	}
	private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
	public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);

	/**
	 * @deprecated Use {@link #VOCABULARY} instead.
	 */
	@Deprecated
	public static final String[] tokenNames;
	static {
		tokenNames = new String[_SYMBOLIC_NAMES.length];
		for (int i = 0; i < tokenNames.length; i++) {
			tokenNames[i] = VOCABULARY.getLiteralName(i);
			if (tokenNames[i] == null) {
				tokenNames[i] = VOCABULARY.getSymbolicName(i);
			}

			if (tokenNames[i] == null) {
				tokenNames[i] = "<INVALID>";
			}
		}
	}

	@Override
	@Deprecated
	public String[] getTokenNames() {
		return tokenNames;
	}

	@Override

	public Vocabulary getVocabulary() {
		return VOCABULARY;
	}


	public GrammarLexer(CharStream input) {
		super(input);
		_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@Override
	public String getGrammarFileName() { return "Grammar.g4"; }

	@Override
	public String[] getRuleNames() { return ruleNames; }

	@Override
	public String getSerializedATN() { return _serializedATN; }

	@Override
	public String[] getChannelNames() { return channelNames; }

	@Override
	public String[] getModeNames() { return modeNames; }

	@Override
	public ATN getATN() { return _ATN; }

	public static final String _serializedATN =
		"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\24z\b\1\4\2\t\2\4"+
		"\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t"+
		"\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
		"\4\23\t\23\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3\7\3\b\3\b\3\t"+
		"\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\13\3\13\3\13\3\13\3\f\5\fC\n\f\3\f\6\f"+
		"F\n\f\r\f\16\fG\3\r\6\rK\n\r\r\r\16\rL\3\16\3\16\3\17\3\17\3\20\3\20\3"+
		"\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3"+
		"\20\3\20\3\20\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3"+
		"\21\3\21\3\21\3\21\3\21\3\21\3\22\3\22\3\23\3\23\2\2\24\3\3\5\4\7\5\t"+
		"\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33\17\35\20\37\21!\22#\23"+
		"%\24\3\2\5\4\2,,\61\61\5\2\13\f\17\17\"\"\4\2C\\c|\2|\2\3\3\2\2\2\2\5"+
		"\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2\2\2\2\17\3\2\2\2"+
		"\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33"+
		"\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2\2\2%\3\2\2\2\3"+
		"\'\3\2\2\2\5)\3\2\2\2\7+\3\2\2\2\t-\3\2\2\2\13/\3\2\2\2\r\61\3\2\2\2\17"+
		"\63\3\2\2\2\21\65\3\2\2\2\23;\3\2\2\2\25=\3\2\2\2\27B\3\2\2\2\31J\3\2"+
		"\2\2\33N\3\2\2\2\35P\3\2\2\2\37R\3\2\2\2!e\3\2\2\2#v\3\2\2\2%x\3\2\2\2"+
		"\'(\7&\2\2(\4\3\2\2\2)*\7?\2\2*\6\3\2\2\2+,\7^\2\2,\b\3\2\2\2-.\7*\2\2"+
		".\n\3\2\2\2/\60\7+\2\2\60\f\3\2\2\2\61\62\7-\2\2\62\16\3\2\2\2\63\64\7"+
		"/\2\2\64\20\3\2\2\2\65\66\7^\2\2\66\67\7h\2\2\678\7t\2\289\7c\2\29:\7"+
		"e\2\2:\22\3\2\2\2;<\t\2\2\2<\24\3\2\2\2=>\t\3\2\2>?\3\2\2\2?@\b\13\2\2"+
		"@\26\3\2\2\2AC\7/\2\2BA\3\2\2\2BC\3\2\2\2CE\3\2\2\2DF\4\62;\2ED\3\2\2"+
		"\2FG\3\2\2\2GE\3\2\2\2GH\3\2\2\2H\30\3\2\2\2IK\t\4\2\2JI\3\2\2\2KL\3\2"+
		"\2\2LJ\3\2\2\2LM\3\2\2\2M\32\3\2\2\2NO\7}\2\2O\34\3\2\2\2PQ\7\177\2\2"+
		"Q\36\3\2\2\2RS\7^\2\2ST\7d\2\2TU\7g\2\2UV\7i\2\2VW\7k\2\2WX\7p\2\2XY\3"+
		"\2\2\2YZ\5\33\16\2Z[\7f\2\2[\\\7q\2\2\\]\7e\2\2]^\7w\2\2^_\7o\2\2_`\7"+
		"g\2\2`a\7p\2\2ab\7v\2\2bc\3\2\2\2cd\5\35\17\2d \3\2\2\2ef\7^\2\2fg\7g"+
		"\2\2gh\7p\2\2hi\7f\2\2ij\3\2\2\2jk\5\33\16\2kl\7f\2\2lm\7q\2\2mn\7e\2"+
		"\2no\7w\2\2op\7o\2\2pq\7g\2\2qr\7p\2\2rs\7v\2\2st\3\2\2\2tu\5\35\17\2"+
		"u\"\3\2\2\2vw\7`\2\2w$\3\2\2\2xy\7a\2\2y&\3\2\2\2\6\2BGL\3\b\2\2";
	public static final ATN _ATN =
		new ATNDeserializer().deserialize(_serializedATN.toCharArray());
	static {
		_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
		for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
			_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
		}
	}
}